package chapter02

/**
  * @Copyright: Shanghai Definesys Company.All rights reserved.
  * @Description:
  * @author: chuhaitao
  * @since: 2018/12/31 18:11
  * @history:
  *          1.2018/12/31 created by chuhaitao
  */
object UnitNullNothing {

  def main(args: Array[String]): Unit = {
    print(sayHello())

    var num2=BigInt(3)


    var str1 :String ="hello"


    print(  str1.take(1))

    val  dog:Dog =null

    print(dog)
 //   var char :Char ='a'

  }
  def sayHello(): Unit = {

  }



}

class Dog{

}